#include "signalandevent.h"
#include "ui_signalandevent.h"
#include "custombutton.h"
SignalAndEvent::SignalAndEvent(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SignalAndEvent)
{
    ui->setupUi(this);
    CustomButton *cBtn = new CustomButton(this);
    connect(cBtn,&CustomButton::clicked,this,&SignalAndEvent::close);
}

SignalAndEvent::~SignalAndEvent()
{
    delete ui;
}
